package utility;

import net.htmlparser.jericho.Source;

/**
 * A class for storing a url and source text of a page.
 * @author Daniel Anderson
 * @version TCSS422 2012
 */
public class PageInfo {
	
	/**URL of page.*/
	private String my_url;
	
	/**Source of page.*/
	private Source my_source;
	
	/**
	 * Constructor for PageInfo.
	 * @param url URL of page.
	 * @param src Source of page.
	 */
	public PageInfo(String url, Source src) {
		my_url = url;
		my_source = src;
	}//end of constr
	
	/**
	 * Get method for the url.
	 * @return The url.
	 */
	public String getURL() {
		return my_url;
	}//end of get
	
	/**
	 * Get method for the source.
	 * @return The source.
	 */
	public Source getSource() {
		return my_source;
	}//end of getSource
}//end of class.
